<?php echo $crumb->getHtml('Add a Pothole'); ?>
<h1>Report a Pothole</h1>
<p style="font-size: 0.8em">You are reporting in <?php echo ($town_info['Town']['public_name']); ?>, <?php echo ($metro_info['Metro']['state']); ?>.  Click <a href="/towns/">here</a> to select another town and <a href="/metros/">here</a> to select another metro.</p>
<table valign="top" width="100%">
<?php echo $form->create('Pothole'); ?>
	<tr>
		<td><?php echo $form->input('location'); ?></td>
		<td><?php echo $form->label('status', 'Status:&nbsp;'); ?><?php echo $form->select('status', array(
													'unresolved' => 'Unresolved',
													'in progress' => 'In Progress',
													'pending review' => 'Pending Review',
													'resolved' => 'Resolved'), 'unresolved'); ?></td>
	</tr>
	<tr>
		<td colspan="2"><?php echo $form->input('title'); ?></td>
	<tr>
		<td colspan="2"><?php echo $form->input('description'); ?></td>
	</tr>
	</tr>
		<td><?php echo $form->input('image', array( 'label' => 'Image Location:',
												'rows' => '1',
												'cols' => '10'
												)); ?></td>
		<td><?php echo $form->input('video', array( 'label' => 'Video Embed Tag:',
															'rows' => '5',
															'cols' => '10'
															)); ?></td>
	</tr>
	<tr>
		<td colspan="3">
			<?php echo $form->hidden('town_ID', array('value' => $town_info['Town']['ID'])); ?>
			<?php echo $form->end('Report It!'); ?>
		</td>
	</tr>
</table>
<pre>Variables:
<?php print($town_info); 
print($metro_info);
?></pre>